package com.hl.ruoyicsmshop.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;

/**
 * 满额活动对象 doorsill_activity
 * 
 * @author ruoyi
 * @date 2025-08-06
 */
public class DoorsillActivity
{
    private static final long serialVersionUID = 1L;

    /** 满额活动ID */
    private Integer daId;

    /** 商家ID */
    @Excel(name = "商家ID")
    private Integer businessId;

    /** 满额活动名称 */
    @Excel(name = "满额活动名称")
    private String daName;

    /** 活动开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "活动开始时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date daStartTime;

    /** 活动结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "活动结束时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date daEndTime;

    /** 活动状态（0-未开始，1-已开始，2-已结束） */
    @Excel(name = "活动状态", readConverterExp = "0=未开始,1=已开始,2=已结束")
    private Integer daStatus;

    /** 活动描述 */
    @Excel(name = "活动描述")
    private String daContent;

    /** 优惠门槛 */
    @Excel(name = "优惠门槛")
    private Double daDoorsill;

    /** 优惠金额 */
    @Excel(name = "优惠金额")
    private Double daMoney;

    /** 活动范围（0-全品类，1-指定商品） */
    @Excel(name = "活动范围", readConverterExp = "0=全品类,1=指定商品")
    private Integer daRange;

    public void setDaId(Integer daId) 
    {
        this.daId = daId;
    }

    public Integer getDaId() 
    {
        return daId;
    }

    public void setBusinessId(Integer businessId) 
    {
        this.businessId = businessId;
    }

    public Integer getBusinessId() 
    {
        return businessId;
    }

    public void setDaName(String daName) 
    {
        this.daName = daName;
    }

    public String getDaName() 
    {
        return daName;
    }

    public void setDaStartTime(Date daStartTime) 
    {
        this.daStartTime = daStartTime;
    }

    public Date getDaStartTime() 
    {
        return daStartTime;
    }

    public void setDaEndTime(Date daEndTime) 
    {
        this.daEndTime = daEndTime;
    }

    public Date getDaEndTime() 
    {
        return daEndTime;
    }

    public void setDaStatus(Integer daStatus) 
    {
        this.daStatus = daStatus;
    }

    public Integer getDaStatus() 
    {
        return daStatus;
    }

    public void setDaContent(String daContent) 
    {
        this.daContent = daContent;
    }

    public String getDaContent() 
    {
        return daContent;
    }

    public void setDaDoorsill(Double daDoorsill) 
    {
        this.daDoorsill = daDoorsill;
    }

    public Double getDaDoorsill() 
    {
        return daDoorsill;
    }

    public void setDaMoney(Double daMoney) 
    {
        this.daMoney = daMoney;
    }

    public Double getDaMoney() 
    {
        return daMoney;
    }

    public void setDaRange(Integer daRange) 
    {
        this.daRange = daRange;
    }

    public Integer getDaRange() 
    {
        return daRange;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("daId", getDaId())
            .append("businessId", getBusinessId())
            .append("daName", getDaName())
            .append("daStartTime", getDaStartTime())
            .append("daEndTime", getDaEndTime())
            .append("daStatus", getDaStatus())
            .append("daContent", getDaContent())
            .append("daDoorsill", getDaDoorsill())
            .append("daMoney", getDaMoney())
            .append("daRange", getDaRange())
            .toString();
    }
}
